<script setup lang="ts">
import { RouterView } from "vue-router";
import { useNoloStore } from "./store";
const store = useNoloStore();
</script>

<template>
    <router-view v-slot="{ Component }">
        <keep-alive :include="store.keepAliveInclude">
            <component :is="Component"></component>
        </keep-alive>
    </router-view>
</template>

<style lang="less">
@import "./style/common.css";
@import "./style/index.less";

//修改 nav 左侧返回按钮默认padding
.van-nav-bar__left {   
    padding: 0 3px !important;
}

:root:root {
    // --van-toast-text-min-width: 75% !important; //设置Toast 宽度
    // --van-toast-default-width: 80% !important;
    //修改Toast背景色
    --van-toast-background-color: rgba(27, 30, 37, 1);
}
</style>
